/**
 * Created by jh on 2018/2/8
 */
export const api = {
    // 获取流程配置列表
    GET_PROCESS_LIST: {
        url: '/sysProcessEntity',
        method: 'get'
    },
    // 删除流程
    DELETE_PROCESS: {
        url: '/sysProcessEntity/{processId}',
        method: 'delete'
    },
    // 新建or编辑流程
    SAVE_PROCESS: {
        url: '/sysProcessEntity',
        method: 'post'
    },
    // 根据部门查角色
    GET_ROLE_BY_DEPT: {
        url: '/roleEntity/roles/dept/{deptId}',
        method: 'get'
    },
    // 获取流程详情
    GET_PROCESS_DETAIL: {
        url: '/sysProcessEntity/{id}',
        method: 'get'
    }
}
